from ftllibs.items.itemtools import ItemIconData

class Item_3109():
    def __init__(self):
        self.parent=False
        self.Name="Force of Nature"
        self.IconFileName="3109.png"
        self.ID=3109
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['1007','1007','1057']
        self.Builds_Into=[]
        self.Tags=['spell_block','health_regen','movement']
        self.Costs = 1000
        self.Total_Costs = 2610
        self.Description="+76 Magic Resist +40 Health Regen per 5 seconds +8% Movement Speed  UNIQUE Passive: Restores 1.75% of your maxmium Health every 5 seconds."
        self.RichText_Description=""
        self.has_active=False
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["all"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Magic_Resist += 76.0
        self.parent.Health_Regen_per_5_seconds += 40.0
        self.parent.Movement_Speed += 8.0
        # above is %
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass


